import { DatabaseType } from '@/lib/domain/database-type';
import type { Template } from '../templates-data';
import image from '@/assets/templates/deployer-db.png';
import imageDark from '@/assets/templates/deployer-db-dark.png';

export const deployerDb: Template = {
    slug: 'deployer-database',
    name: 'Deployer',
    shortDescription: 'PHP application deployment tool',
    description: 'A free, open-source tool for deploying PHP apps via SSH.',
    image,
    imageDark,
    tags: ['Postgres', 'Open Source', 'Laravel', 'PHP'],
    featured: false,
    url: 'https://github.com/REBELinBLUE/deployer',
    diagram: {
        id: 'deployer_db',
        name: 'deployer-database',
        createdAt: new Date(),
        updatedAt: new Date(),
        databaseType: DatabaseType.POSTGRESQL,
        tables: [
            {
                id: '465j64mlgnsama3os7a7j1hjz',
                name: 'channels',
                schema: 'public',
                x: -300,
                y: 100.00000000000006,
                fields: [
                    {
                        id: 'f9ohc9qid17dyg4fk4gm4qakr',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'w0ujjkrbxeoyt4psu3h6zvh9z',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '20f03j1ilhb5c48devhclwgbv',
                        name: 'type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '4bbk90orgefkx6h4jii2ww2qc',
                        name: 'config',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'zzeso9fxf4uggc7wdgiips5dz',
                        name: 'on_deployment_success',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'vyfijbvou7el89bw1hkh0q7vn',
                        name: 'on_deployment_failure',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ovqo2c24s50914zukt1s027xx',
                        name: 'on_link_down',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'la62q4okxmvlynrz0a1w8w1qz',
                        name: 'on_link_still_down',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'eju69l18qxjlltk9ep3wio3u3',
                        name: 'on_link_recovered',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '1u3y1vnuarxteq2of21abccjv',
                        name: 'on_heartbeat_missing',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'eldjrnuzm613h55fwl0xalve6',
                        name: 'on_heartbeat_still_missing',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ezvhjzambxbo77qijn3blhyv8',
                        name: 'on_heartbeat_recovered',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'xewhfw32n77giqz0y7331e7ls',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'd2sej8leigfuk9qz3kz3u9luf',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wejwvkib226czg4xa9dwwyukb',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'bu3bnfxnn5bvhy4vzmzpu1o92',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'mx76f39n2hlsqxmuuw3enepdv',
                        name: 'channels_pkey',
                        unique: true,
                        fieldIds: ['f9ohc9qid17dyg4fk4gm4qakr'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'emxl4y5if7fyavysocz73qy8q',
                        name: 'channels_project_id_index',
                        unique: false,
                        fieldIds: ['xewhfw32n77giqz0y7331e7ls'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#8a61f5',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: '4sckpwe6zumhst9t7h8i1pskp',
                name: 'failed_jobs',
                schema: 'public',
                x: -280,
                y: 880,
                fields: [
                    {
                        id: '60ksc3wytc35otv61a9odm15n',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'erhnshvxqdwiyhqiciqgp378i',
                        name: 'connection',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'czrmlgydjadiy6qvuel3j0vc5',
                        name: 'queue',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'o7r6e29mxhx8zp9nqrpsyk43l',
                        name: 'payload',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5jmqorw01d0gtl7hkm2uah53k',
                        name: 'exception',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'b1n4bx3elscdg2iy1zw3jrd3c',
                        name: 'failed_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 't04oknmi4oro9vdb2v76lyx64',
                        name: 'failed_jobs_pkey',
                        unique: true,
                        fieldIds: ['60ksc3wytc35otv61a9odm15n'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: '668m05ywooy1d3jvd3ykle06m',
                name: 'variables',
                schema: 'public',
                x: 1300,
                y: 1200,
                fields: [
                    {
                        id: 'xhwlb3b6385opzdsf83q1r3sy',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'nu8nxrayqvzy8gn02gjedifvi',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'bwn6vcupve5dqprw9uutiumx5',
                        name: 'value',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'd691gosews2s22kqnhpj5uawe',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'up03wyi4fftgy4dfj09wintkb',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'hpr64r4a546h0vt3cp3e2whew',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3tut5numf9cpf5vz89two05dg',
                        name: 'target_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qq461115etnocsxjfx129txhu',
                        name: 'target_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'w3qpwfyf8ynecgvcobewij2yg',
                        name: 'variables_pkey',
                        unique: true,
                        fieldIds: ['xhwlb3b6385opzdsf83q1r3sy'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: '83f6ta7tno3xl4m8s2bjp5ke3',
                name: 'groups',
                schema: 'public',
                x: 100.00000000000003,
                y: 600,
                fields: [
                    {
                        id: 'hyahsmgodjbbdvwjbjbcm3xp8',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ot6t6rrsb9uw4ehx5il4y4yra',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'sy3sx62w71urgdii4rw5y45g6',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pdojjhpzkykx3jhbui2m346y4',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5t3huzzoezlrqk41fjwdz6kst',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5drjb5wh7an7jtr4dr3te06c3',
                        name: 'order',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'olyp36e1hwyyaxz0hx8ir0txs',
                        name: 'groups_pkey',
                        unique: true,
                        fieldIds: ['hyahsmgodjbbdvwjbjbcm3xp8'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff9f74',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: '8ekqpasxd43b67bwbchapufv6',
                name: 'refs',
                schema: 'public',
                x: -288.9087296526011,
                y: 559.619407771256,
                fields: [
                    {
                        id: 'kul7rlewjq4slyti1vo4oolph',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'me0q2tjgd7pf0q9mnt8qs63mr',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'x5158o1i6j9v5dgmyvs51g7fn',
                        name: 'is_tag',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'f6cbm8ih1bqhxm2m3mp804lar',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ei2edtakgygn01psh5mjpt2sf',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ghmagc4sz49vza07hw35nuen6',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: '6m0dlg968dqplkgkrz7lepho3',
                        name: 'refs_pkey',
                        unique: true,
                        fieldIds: ['kul7rlewjq4slyti1vo4oolph'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'el5o4omy6kar0oa1ql357t75n',
                        name: 'refs_project_id_index',
                        unique: false,
                        fieldIds: ['f6cbm8ih1bqhxm2m3mp804lar'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: '90v9edq3zd7rq8phnkjw4ocwd',
                name: 'command_server',
                schema: 'public',
                x: 2100,
                y: 100,
                fields: [
                    {
                        id: '2qddf7umetiwnhkrdyxih0wnh',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'dkvfh3do6fumn7lz22boj4y85',
                        name: 'command_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5v2fbrkkqzh4wz2s8uv9qm3mh',
                        name: 'server_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'sqf4busfw9538g1ns6e4tij56',
                        name: 'command_server_pkey',
                        unique: true,
                        fieldIds: ['2qddf7umetiwnhkrdyxih0wnh'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'c0wjm8pivlpa16nxxhyq90ar6',
                        name: 'command_server_command_id_index',
                        unique: false,
                        fieldIds: ['dkvfh3do6fumn7lz22boj4y85'],
                        createdAt: Date.now(),
                    },
                    {
                        id: '1gzdbjl4yl6p34nhficno4lp8',
                        name: 'command_server_server_id_index',
                        unique: false,
                        fieldIds: ['5v2fbrkkqzh4wz2s8uv9qm3mh'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'by1dj4sn6h8a6wsmk0c79pbpj',
                name: 'password_resets',
                schema: 'public',
                x: 100,
                y: 1200,
                fields: [
                    {
                        id: 'kkkeybrhauoobprch0lsezfnn',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'a9yh0petpzba1wyzp8tfr2c0t',
                        name: 'token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'eoi8m5wh7z1i9b6j7rgdfy279',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'dbuxhw1qv9g53izkqrq346xao',
                        name: 'password_resets_email_index',
                        unique: false,
                        fieldIds: ['kkkeybrhauoobprch0lsezfnn'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'dcl3jfu3jvouj78ys18ggnxe8',
                        name: 'password_resets_token_index',
                        unique: false,
                        fieldIds: ['a9yh0petpzba1wyzp8tfr2c0t'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#4dee8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'desr6l3or0z0c23d1ansyqx2g',
                name: 'servers',
                schema: 'public',
                x: 500,
                y: 100,
                fields: [
                    {
                        id: 'qq2rhrpwjvhhklv3s4o2kbgr2',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3nzzfdv4jlta4833jitnl7e5r',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'u3yfpawdasvpi987r2n531nmb',
                        name: 'ip_address',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'tob50lhfpku3jhu4tixxi8v6g',
                        name: 'user',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ri26abjufzczkwsxq9a38ya4k',
                        name: 'path',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'hdybkjnde6w7m5jgj783djqh8',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'x4z9vbcso7930p0iynmzfw7qy',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ef36657p8f0wfg37ktk5y0tae',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'cwqxzt027t3qae3vae75wzfrh',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'dhui8vu1bu16xwdviydje9f5h',
                        name: 'deploy_code',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'c7gs9240vp3zqe6pjhk5ahsy4',
                        name: 'port',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'atcc08gro2f2mzow96m9ny9gw',
                        name: 'order',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'kkqu466mac920xctbbyev3ar5',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'o9nso9siq5b5tcudu0advqof2',
                        name: 'connect_log',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'udyfiwv082ps6cdl4xv5q7146',
                        name: 'servers_project_id_index',
                        unique: false,
                        fieldIds: ['hdybkjnde6w7m5jgj783djqh8'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'a530ansy60i6zx42dsfagcmd2',
                        name: 'servers_pkey',
                        unique: true,
                        fieldIds: ['qq2rhrpwjvhhklv3s4o2kbgr2'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#9ef07a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'ief2h0y7swg8st594je9124fw',
                name: 'heartbeats',
                schema: 'public',
                x: -288.9087296526012,
                y: -359.61940777125585,
                fields: [
                    {
                        id: 'b8ke1pyvlizh4ku7p2i9kc08y',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'kgfzy8uwrwwadmebqo72m5lr3',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5z4aasnbcsbgoqdh2p57ln7cz',
                        name: 'hash',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ipu1gtrw0y2kjn8paqysr72tg',
                        name: 'interval',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pypbq33v4r496r3kgxz7bfjip',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'eo0s6yync2gf3qkpwm6wkhqxl',
                        name: 'missed',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'lofl0hvkrrtvt0ykqsyxmgkrf',
                        name: 'last_activity',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ry5tw7b9k32nbq7ped8t7e54u',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rxq81opnb400476ponqkr6778',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'j6b2ykkfoc9rrq2xdbg7wtcme',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'foslfndynm8330guzxtk2tj39',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'dey3cpg7z8apwctm644pq9zq9',
                        name: 'heartbeats_project_id_index',
                        unique: false,
                        fieldIds: ['pypbq33v4r496r3kgxz7bfjip'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'gsz76qqozjqhtrch9dj0ez7k3',
                        name: 'heartbeats_hash_unique',
                        unique: true,
                        fieldIds: ['5z4aasnbcsbgoqdh2p57ln7cz'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'kdd9rw3n0dv3amtzvxe292sd7',
                        name: 'heartbeats_pkey',
                        unique: true,
                        fieldIds: ['b8ke1pyvlizh4ku7p2i9kc08y'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff6363',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'ki5aps07cdlght6ys91p9x2d1',
                name: 'migrations',
                schema: 'public',
                x: -300,
                y: 1200,
                fields: [
                    {
                        id: '67c823vl6lizfag4v4toyd0n3',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qoelfwxi0lkzmlbmrscet58ow',
                        name: 'migration',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'kj1e6wz46614rn7jj4hyphikt',
                        name: 'batch',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'oz8skdvfbztgpo864wnhjsgvt',
                        name: 'migrations_pkey',
                        unique: true,
                        fieldIds: ['67c823vl6lizfag4v4toyd0n3'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff6363',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'lp5s8bi7ni72guc0vwh8o6gs0',
                name: 'templates',
                schema: 'public',
                x: 900,
                y: 1200,
                fields: [
                    {
                        id: '2t7owqo4fsto4r26pxjwjjb7c',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mq0dg9476sdcxepsp2yirjoxw',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '7g4u3aw3vjh3oma5hia0qsmz7',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'hfxwlng31qpce6a4mprfqj0fz',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'g974ghkr7u7fdbrh9o75siowd',
                        name: 'templates_pkey',
                        unique: true,
                        fieldIds: ['2t7owqo4fsto4r26pxjwjjb7c'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#4dee8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'p6nk5ljrh7p1xttixpggfpdx3',
                name: 'shared_files',
                schema: 'public',
                x: 500,
                y: 1200,
                fields: [
                    {
                        id: '70nl315pusofdktxzhlubkghs',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pex5yoppzwshpxv076rlfnamq',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'gvxd18xwhs0vwwale540q2gl4',
                        name: 'file',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '8dtmbf3qkekv4aiixmd3d7z6a',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rc9706f0rx0zlde7bhxhbsugq',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3nffw7zcm0kp4dm6d0yjt2kgh',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'txxr53re5d5nwg2glfx2ll7yb',
                        name: 'target_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'u23mzo1yzlophci0s3xt3is7p',
                        name: 'target_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'gtbv79irgu7b6l6sinvnbt0jf',
                        name: 'shared_files_pkey',
                        unique: true,
                        fieldIds: ['70nl315pusofdktxzhlubkghs'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#4dee8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'pqd5s6rgzx6cu3ywlw39kq0v6',
                name: 'users',
                schema: 'public',
                x: 1500,
                y: 533.0127018922194,
                fields: [
                    {
                        id: 'jsndkkz9rla8koso6lol9nbce',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '9c6qnuff64asw24rp8fnc5mlq',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'xpyptecfk6ygv3i38jt0y9m9y',
                        name: 'email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5pdwt81k2chxzyggt7rm5g4ql',
                        name: 'password',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'lb0bd56ey88looe8wbeixs9pj',
                        name: 'is_admin',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wg8oe5szaknpt8m6qcyrkk1h7',
                        name: 'remember_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'jky8p8v2m2n3tklyqdhspbzeq',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rwrs6skwazavg8fx1sl3ikt2c',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'duy9ja33pzjge3vhq5p3oetin',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'li0vthextg0v7btajecyow2r9',
                        name: 'email_token',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '9kx4l30g8cvqp6fdmiklgzs9c',
                        name: 'avatar',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'sinhi7ku7trenkpjbmtzurlpd',
                        name: 'language',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '4l21nrrxomksd95nhvid6xmhi',
                        name: 'skin',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'jegfha3j0c3em366jxwbevdqi',
                        name: 'google2fa_secret',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'byoc0ydw6mait47xt0rw6m43c',
                        name: 'scheme',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'uopqj9d7kxkvxtcf8znkuzkec',
                        name: 'users_pkey',
                        unique: true,
                        fieldIds: ['jsndkkz9rla8koso6lol9nbce'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'xaz0s54tti7fvr9ftzyp7vr47',
                        name: 'users_email_token_index',
                        unique: false,
                        fieldIds: ['li0vthextg0v7btajecyow2r9'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ptf01f1hw8f6ihp8o9c9zx0a7',
                        name: 'users_email_unique',
                        unique: true,
                        fieldIds: ['xpyptecfk6ygv3i38jt0y9m9y'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#42e0c0',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'ps22x2kkk4oxnmr390u0z4e2u',
                name: 'projects',
                schema: 'public',
                x: 100,
                y: 100,
                fields: [
                    {
                        id: 'qvai36lavgafbnt9fk6uoc33z',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'fyi0sstd6ldeckdv8pqeudh5h',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'iplg3da87qoq23zapp6r276gf',
                        name: 'repository',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pqfcuc8p6pq7jaz0j5fudbo70',
                        name: 'hash',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '8ghwhk4rz10kokepr6ylbswac',
                        name: 'branch',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'h4fql3x0giql538l8zsep4b1v',
                        name: 'private_key',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'eq4sptjq9fs6m34xqvkwfhpa8',
                        name: 'public_key',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '1vv1d2jtgyl3121sedrn5bvnv',
                        name: 'group_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '7rbkt46kvmx74g6nrngdhmw4j',
                        name: 'builds_to_keep',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'zhei4u1qmzw4se56fgnj4hmzb',
                        name: 'url',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mdsduzx9a938tc6k0rull48li',
                        name: 'build_url',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'j9qmv4nugajga6ywl6smajuk3',
                        name: 'last_run',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'lehdg7hhsfd08lnyzue7dm73d',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ageh7uq1cs7h53n4mtmzr7jp8',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'guuqk8jcvwmxs763byw1jpy7r',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'y9uyilnkl29a8dcogbx04rr3w',
                        name: 'last_mirrored',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qoiaw73ua4vrp5rnvdku003fp',
                        name: 'allow_other_branch',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 't7yrihunfv323t7o4939bspjr',
                        name: 'include_dev',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '6kv0xuhna29a5aihbqfpxjrde',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wixtri3jqs87c1pyt3qm9ef16',
                        name: 'is_mirroring',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'inceecsxpoe7mplt63drrwp18',
                        name: 'projects_pkey',
                        unique: true,
                        fieldIds: ['qvai36lavgafbnt9fk6uoc33z'],
                        createdAt: Date.now(),
                    },
                    {
                        id: '11w4uo4tr5s7va6ghtithc3hk',
                        name: 'projects_group_id_index',
                        unique: false,
                        fieldIds: ['1vv1d2jtgyl3121sedrn5bvnv'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#9ef07a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'pwzd87oqecg4l4rq2tp56x0hr',
                name: 'deploy_steps',
                schema: 'public',
                x: 1300,
                y: 100,
                fields: [
                    {
                        id: 'qrd4301pg0ii4c90xkps23fft',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mrh66tb8k25f6tzprpt300fp5',
                        name: 'deployment_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'f7xwt7znbzpq3pokoilxw16a0',
                        name: 'stage',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'yg3dwigysv7te3n32nr14ei0y',
                        name: 'command_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mu8tundia5l03b6v67ensw7iy',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'klwfkpyxxf9k80o607dxmae3m',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'b1190nb9pcc8ot2ljgym7wi7l',
                        name: 'deploy_steps_deployment_id_index',
                        unique: false,
                        fieldIds: ['mrh66tb8k25f6tzprpt300fp5'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'cdj3aw73ylnpkr80dbfkrf6yx',
                        name: 'deploy_steps_command_id_index',
                        unique: false,
                        fieldIds: ['yg3dwigysv7te3n32nr14ei0y'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'h0p0qsiuyrxebv573d0t7587d',
                        name: 'deploy_steps_pkey',
                        unique: true,
                        fieldIds: ['qrd4301pg0ii4c90xkps23fft'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ffe374',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'sfdme1amyqw7ai072wfubwb3o',
                name: 'config_files',
                schema: 'public',
                x: -640,
                y: 600,
                fields: [
                    {
                        id: '7n3i54fc5n80bn3y9tlcxs2mp',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '712jblkxc6jeim1e0yn3sg8dz',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '6l9g5wshz8xlhhg7wjhdb8oap',
                        name: 'path',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wqflnhfeyesdspe09ru2p3873',
                        name: 'content',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'kd9dgwwui6uyt49rahaq65qdk',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5djhn10k3jntrkl1pk570ymsp',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'vr83em6zzku098axns8nzjms8',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3uml7owrvyev155o70qkhbmos',
                        name: 'target_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'yn58bta9wpgoiq1mpy140r8cz',
                        name: 'target_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: '5jpvcd4l5k35qz39cbaxwlt5p',
                        name: 'config_files_pkey',
                        unique: true,
                        fieldIds: ['7n3i54fc5n80bn3y9tlcxs2mp'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'uvy6shi1n0rij8kig2cz7nia9',
                name: 'check_urls',
                schema: 'public',
                x: 488.90872965260115,
                y: 559.6194077712559,
                fields: [
                    {
                        id: 'bdt7blpncponaskuo0q13jglt',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3if0zpa3bthvrkn4utw7ir5jy',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ly2lzq9f2oeu705635fqkcom3',
                        name: 'url',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3onfmj2f6s4li4quh6f1cbxlt',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '9ufigmmqcj48o4wmnrllz8ck6',
                        name: 'period',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ra3f0eehakj73h1922lfba6o7',
                        name: 'match',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rsequf8fu0d1cdxk2jfguu61h',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '28mepxebgcuetdnt6yk3dw797',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rntyodgj67izun2vb64g2z0nz',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mhp3209pemo4jlvoc7vhutbzp',
                        name: 'missed',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wpbg5uc2evxzsfhgxdhgzi4nz',
                        name: 'last_seen',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'tizg515puiq7fq3ztz0pn4ugd',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'lvlx8qc8akqvp2y5rwan4siuw',
                        name: 'last_log',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: '95cxrv5u9owaj0hq3lji05sn4',
                        name: 'check_urls_period_index',
                        unique: false,
                        fieldIds: ['9ufigmmqcj48o4wmnrllz8ck6'],
                        createdAt: Date.now(),
                    },
                    {
                        id: '2f7xl209otl2fjnqwc3aojgiw',
                        name: 'check_urls_pkey',
                        unique: true,
                        fieldIds: ['bdt7blpncponaskuo0q13jglt'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mxbnm8hnucxlgmj8h4h6hlffk',
                        name: 'check_urls_project_id_index',
                        unique: false,
                        fieldIds: ['3onfmj2f6s4li4quh6f1cbxlt'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#8a61f5',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'x2uxvr8yca09478tcktky2kyq',
                name: 'deployments',
                schema: 'public',
                x: 1100,
                y: 533.0127018922194,
                fields: [
                    {
                        id: 'g1bmdm0zj362yf440fx0xjfax',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'o6sw3khm9nutebzshexx7zmn4',
                        name: 'committer',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'i6fm7331mm447n6l8tsehzdgb',
                        name: 'committer_email',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'srlp98i4pn43z9tuuvg42rged',
                        name: 'commit',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'lyjm94wk3xqyzxw9mqc4oy1vp',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '0lrf89e48bco9t01trcjtvosd',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qy4iii9af770ec67k620cqu99',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'mlvpesvboktf0zg62yrrgly39',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'e0sm63fzqrl7epm59mq33apy8',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '77y5z5klgy0e1n9pqarogoew0',
                        name: 'started_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '0nriccox43woyibdtq06f3s50',
                        name: 'finished_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'wnns9xqlqhhqpjl4kl9dvauoh',
                        name: 'reason',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '7nvjaqvr46iartu1uuy4x2h7e',
                        name: 'branch',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5ygfpknig1fu31l5xu5ylkcqa',
                        name: 'is_webhook',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '8f67xayjk7v2th3bw8dpnvepr',
                        name: 'source',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'zmicimtk45kk50ylsbxgb9g2h',
                        name: 'build_url',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'r2aniic4oxdd502pq6ycm8i6y',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'maby4lw00uue3iz4huj6ru404',
                        name: 'deployments_project_id_index',
                        unique: false,
                        fieldIds: ['lyjm94wk3xqyzxw9mqc4oy1vp'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'iafcd5ujxgo4sgbfi49zo034u',
                        name: 'deployments_pkey',
                        unique: true,
                        fieldIds: ['g1bmdm0zj362yf440fx0xjfax'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pjyqagcyv4mzf2ry4j32jbi3z',
                        name: 'deployments_user_id_index',
                        unique: false,
                        fieldIds: ['0lrf89e48bco9t01trcjtvosd'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#b067e9',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'yab4uw2i08cmij353j1j4vwgd',
                name: 'project_user',
                schema: 'public',
                x: 1300,
                y: 966.0254037844388,
                fields: [
                    {
                        id: '0762omzp19axxn9e8ed7c0f9f',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '87b3h3d325mq5sr6g0y8yzut6',
                        name: 'project_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '85ity9d4lfxix96k1vzulawyd',
                        name: 'user_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'cxcnc9ewosk00ps1clkxshdo3',
                        name: 'role',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'z657wdva7ulcnrk77ddn8ugow',
                        name: 'project_user_project_id_user_id_unique',
                        unique: true,
                        fieldIds: [
                            '87b3h3d325mq5sr6g0y8yzut6',
                            '85ity9d4lfxix96k1vzulawyd',
                        ],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qbzzr0n08iz1gek92pwefut59',
                        name: 'project_user_pkey',
                        unique: true,
                        fieldIds: ['0762omzp19axxn9e8ed7c0f9f'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ju21214cjx77vm55esu2dtm7o',
                        name: 'project_user_user_id_index',
                        unique: false,
                        fieldIds: ['85ity9d4lfxix96k1vzulawyd'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#42e0c0',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'ycd3l8y48o5dw8ptudqixsozu',
                name: 'commands',
                schema: 'public',
                x: 1700,
                y: 100,
                fields: [
                    {
                        id: '5o77yqf9hen4eueflmok3z79d',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'fq6f7p5nbh4veumso7uc91gn5',
                        name: 'name',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'fhsap82lbmi5dq3s9qlw0n87g',
                        name: 'user',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'vl0tvryhcbivh6890uby261hi',
                        name: 'script',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qi7abzlr5sd3g22gcah93nn9p',
                        name: 'order',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'vj627sxyqqn701tgfx3c8pe4k',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '98w2qow9fh9qjxmrb2gtxowqu',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'gog33ddfjrstom4t2b0qetqnd',
                        name: 'deleted_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'r9ny3tw6x32cf3l9c8zvoqm3a',
                        name: 'optional',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ujoapqoa9scjwm9dzjz900909',
                        name: 'default_on',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'efe5xkh1lsi0509d7oi62c1xc',
                        name: 'target_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'yb65nzxrrtavx2htbcw1l6p01',
                        name: 'target_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '09evlwri3ba5tvbif00q6w3zc',
                        name: 'step',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: '4e52rygz0sharnbej1066i27j',
                        name: 'commands_pkey',
                        unique: true,
                        fieldIds: ['5o77yqf9hen4eueflmok3z79d'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff9f74',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'ydav72qjt9ndoe5hqno3jprgt',
                name: 'server_logs',
                schema: 'public',
                x: 900,
                y: 100,
                fields: [
                    {
                        id: 'aj7lnisalmjnknei25dmlzsfg',
                        name: 'id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'is038tee2vwd0u27msarjju1v',
                        name: 'server_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ggcf7he7zbleuribiwmhv99m6',
                        name: 'deploy_step_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'tnmls585s0qqm43074q1ddp0w',
                        name: 'output',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '19qh7fzeizh0r184v15bgabpn',
                        name: 'started_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '2hdphd5x62k52w4guddtmq095',
                        name: 'finished_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '5oj1o5two1c94o2i113ytzcwg',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: '4rwspbncyv0tkfnwm17hkvbcs',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qmjqprr8nac8gcdz830u956ex',
                        name: 'status',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'ljm1rgfszhq09rtwy0ug98s47',
                        name: 'server_logs_pkey',
                        unique: true,
                        fieldIds: ['aj7lnisalmjnknei25dmlzsfg'],
                        createdAt: Date.now(),
                    },
                    {
                        id: '37xxjushwiy9xhgar66xwqki3',
                        name: 'server_logs_server_id_index',
                        unique: false,
                        fieldIds: ['is038tee2vwd0u27msarjju1v'],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'fanae0vvuuee7swqzqah6j5jv',
                        name: 'server_logs_deploy_step_id_index',
                        unique: false,
                        fieldIds: ['ggcf7he7zbleuribiwmhv99m6'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#c05dcf',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'yirpknmae7jnm84eo013exaif',
                name: 'notifications',
                schema: 'public',
                x: 1900,
                y: 533.0127018922194,
                fields: [
                    {
                        id: 'm6nrbwl2gceh2h9mu9p4nz4f3',
                        name: 'id',
                        type: {
                            id: 'character',
                            name: 'character',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'yy1dhg1zb48i98es8kd6iaovw',
                        name: 'type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'uhs7x9p3d1qlzikavna0nd5wm',
                        name: 'notifiable_id',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'm8di5mmtwvq733fekpamufkqm',
                        name: 'notifiable_type',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qcvjhnyunwqxwd4o8kkpbpcdk',
                        name: 'data',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'l6zcipexgo4cj4kbusedc0kn5',
                        name: 'read_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'cs6l6sucrayaw049kxwssaepf',
                        name: 'created_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'qqj7ra6gi8mbwbzmzr23noy4z',
                        name: 'updated_at',
                        type: {
                            id: 'timestamp_without_time_zone',
                            name: 'timestamp without time zone',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'vnihocawxnhqwmlnalbwecbwn',
                        name: 'notifications_notifiable_id_notifiable_type_index',
                        unique: false,
                        fieldIds: [
                            'uhs7x9p3d1qlzikavna0nd5wm',
                            'm8di5mmtwvq733fekpamufkqm',
                        ],
                        createdAt: Date.now(),
                    },
                    {
                        id: '375kwjon21h8hsk73n2cww6sf',
                        name: 'notifications_pkey',
                        unique: true,
                        fieldIds: ['m6nrbwl2gceh2h9mu9p4nz4f3'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#7175fa',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'zc7z9fom9bs9c1ur5f4ylgaf0',
                name: 'cache',
                schema: 'public',
                x: 1600,
                y: 1100,
                fields: [
                    {
                        id: 'wnrji10edbmdi9yvt4w3lralr',
                        name: 'key',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'uw9r748bo10c5e09n2jp5k6lp',
                        name: 'value',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '3yjs0rddyanlf1v8zg9ozb9oe',
                        name: 'expiration',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'y7s86axg8a6jlibp7g2q68vxt',
                        name: 'cache_key_unique',
                        unique: true,
                        fieldIds: ['wnrji10edbmdi9yvt4w3lralr'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#ff6b8a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
            {
                id: 'zmbyu6cupincxfbs1lu2fqb56',
                name: 'jobs',
                schema: 'public',
                x: -700,
                y: 1200,
                fields: [
                    {
                        id: 'l0fr1fb5ijzd00cywry4ew0aj',
                        name: 'id',
                        type: {
                            id: 'bigint',
                            name: 'bigint',
                        },
                        primaryKey: true,
                        unique: true,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'enxt90se3b8g33sxeshro57jr',
                        name: 'queue',
                        type: {
                            id: 'character_varying',
                            name: 'character varying',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: '0hxeyyuov1eypxv99ki80d61c',
                        name: 'payload',
                        type: {
                            id: 'text',
                            name: 'text',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'zis2srmwokao5sl9ht2nljf41',
                        name: 'attempts',
                        type: {
                            id: 'smallint',
                            name: 'smallint',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'rczyq4tttg4e1ddcp8gneubiv',
                        name: 'reserved_at',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: true,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'pk0s1rq4ga1trephri6u272ux',
                        name: 'available_at',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                    {
                        id: 'ak09xoubshesounbcxo2mzp4y',
                        name: 'created_at',
                        type: {
                            id: 'integer',
                            name: 'integer',
                        },
                        primaryKey: false,
                        unique: false,
                        nullable: false,
                        createdAt: Date.now(),
                    },
                ],
                indexes: [
                    {
                        id: 'lt9l3dewhr7bix7o87lklafm2',
                        name: 'jobs_queue_reserved_at_index',
                        unique: false,
                        fieldIds: [
                            'enxt90se3b8g33sxeshro57jr',
                            'rczyq4tttg4e1ddcp8gneubiv',
                        ],
                        createdAt: Date.now(),
                    },
                    {
                        id: 'vf458rgcridoywfmywucjapfx',
                        name: 'jobs_pkey',
                        unique: true,
                        fieldIds: ['l0fr1fb5ijzd00cywry4ew0aj'],
                        createdAt: Date.now(),
                    },
                ],
                color: '#9ef07a',
                isView: false,
                isMaterializedView: false,
                createdAt: Date.now(),
            },
        ],
        relationships: [
            {
                id: '3tpxj9or3sgerva7n5v92rqtj',
                name: 'server_logs_deploy_step_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'ydav72qjt9ndoe5hqno3jprgt',
                targetTableId: 'pwzd87oqecg4l4rq2tp56x0hr',
                sourceFieldId: 'ggcf7he7zbleuribiwmhv99m6',
                targetFieldId: 'qrd4301pg0ii4c90xkps23fft',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: '3xi6f67trl1ki19rm9243zpoj',
                name: 'notifications_notifiable_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'yirpknmae7jnm84eo013exaif',
                targetTableId: 'pqd5s6rgzx6cu3ywlw39kq0v6',
                sourceFieldId: 'uhs7x9p3d1qlzikavna0nd5wm',
                targetFieldId: 'jsndkkz9rla8koso6lol9nbce',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'a54lzvfnblnxes6y08a2u4wgi',
                name: 'check_urls_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'uvy6shi1n0rij8kig2cz7nia9',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: '3onfmj2f6s4li4quh6f1cbxlt',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'aa500rfclfpr59txu2fvwhjg1',
                name: 'project_user_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'yab4uw2i08cmij353j1j4vwgd',
                targetTableId: 'pqd5s6rgzx6cu3ywlw39kq0v6',
                sourceFieldId: '85ity9d4lfxix96k1vzulawyd',
                targetFieldId: 'jsndkkz9rla8koso6lol9nbce',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'aejfi8qx1odrkls1kqjqgfgl5',
                name: 'project_user_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'yab4uw2i08cmij353j1j4vwgd',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: '87b3h3d325mq5sr6g0y8yzut6',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'az04sfoyj5qys7jrni35wiyzw',
                name: 'heartbeats_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'ief2h0y7swg8st594je9124fw',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: 'pypbq33v4r496r3kgxz7bfjip',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'cpn7pgr9iwqtbrokvc8h7j0v2',
                name: 'command_server_server_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '90v9edq3zd7rq8phnkjw4ocwd',
                targetTableId: 'desr6l3or0z0c23d1ansyqx2g',
                sourceFieldId: '5v2fbrkkqzh4wz2s8uv9qm3mh',
                targetFieldId: 'qq2rhrpwjvhhklv3s4o2kbgr2',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'dw763app1boh95v170tzxkosr',
                name: 'deploy_steps_deployment_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'pwzd87oqecg4l4rq2tp56x0hr',
                targetTableId: 'x2uxvr8yca09478tcktky2kyq',
                sourceFieldId: 'mrh66tb8k25f6tzprpt300fp5',
                targetFieldId: 'g1bmdm0zj362yf440fx0xjfax',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'e03ox9k94dgbcbs6tyspyx3w0',
                name: 'deployments_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'x2uxvr8yca09478tcktky2kyq',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: 'lyjm94wk3xqyzxw9mqc4oy1vp',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'gquymz5738gr6fa5vv3bl7on5',
                name: 'projects_group_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                targetTableId: '83f6ta7tno3xl4m8s2bjp5ke3',
                sourceFieldId: '1vv1d2jtgyl3121sedrn5bvnv',
                targetFieldId: 'hyahsmgodjbbdvwjbjbcm3xp8',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'lbua0flzhj1yoa8t2c934c3fm',
                name: 'command_server_command_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '90v9edq3zd7rq8phnkjw4ocwd',
                targetTableId: 'ycd3l8y48o5dw8ptudqixsozu',
                sourceFieldId: 'dkvfh3do6fumn7lz22boj4y85',
                targetFieldId: '5o77yqf9hen4eueflmok3z79d',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'nfdo6njol6p7p3wiykywqj7px',
                name: 'server_logs_server_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'ydav72qjt9ndoe5hqno3jprgt',
                targetTableId: 'desr6l3or0z0c23d1ansyqx2g',
                sourceFieldId: 'is038tee2vwd0u27msarjju1v',
                targetFieldId: 'qq2rhrpwjvhhklv3s4o2kbgr2',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'ofu6jsw4qyb0py1xjb0ksgcw2',
                name: 'refs_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '8ekqpasxd43b67bwbchapufv6',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: 'f6cbm8ih1bqhxm2m3mp804lar',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'qwqsu3xplxoa9kfzzcul3ljm0',
                name: 'servers_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'desr6l3or0z0c23d1ansyqx2g',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: 'hdybkjnde6w7m5jgj783djqh8',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'wxakvcy0yqvkf325vs70t2axm',
                name: 'channels_project_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: '465j64mlgnsama3os7a7j1hjz',
                targetTableId: 'ps22x2kkk4oxnmr390u0z4e2u',
                sourceFieldId: 'xewhfw32n77giqz0y7331e7ls',
                targetFieldId: 'qvai36lavgafbnt9fk6uoc33z',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'ze4ids0m4ruudsupntxdxpfvw',
                name: 'deployments_user_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'x2uxvr8yca09478tcktky2kyq',
                targetTableId: 'pqd5s6rgzx6cu3ywlw39kq0v6',
                sourceFieldId: '0lrf89e48bco9t01trcjtvosd',
                targetFieldId: 'jsndkkz9rla8koso6lol9nbce',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
            {
                id: 'zngpfczhkh7p2tm8sctydqddx',
                name: 'deploy_steps_command_id_foreign',
                sourceSchema: 'public',
                targetSchema: 'public',
                sourceTableId: 'pwzd87oqecg4l4rq2tp56x0hr',
                targetTableId: 'ycd3l8y48o5dw8ptudqixsozu',
                sourceFieldId: 'yg3dwigysv7te3n32nr14ei0y',
                targetFieldId: '5o77yqf9hen4eueflmok3z79d',
                sourceCardinality: 'many',
                targetCardinality: 'one',
                createdAt: Date.now(),
            },
        ],
        dependencies: [],
    },
};
